﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WindowsWorkflow.Hoster;

namespace WindowsWorkflow.Test
{
    public partial class SequentialWorkflowTester : Form
    {
        private WfSeqHoster _SeqHoster = null;

        public SequentialWorkflowTester()
        {
            InitializeComponent();
        }

        private void SequentialWorkflowTester_Load(object sender, EventArgs e)
        {
            this.p_Workspace.Controls.Clear();
            this._SeqHoster=new WfSeqHoster(this.propertyGrid1);
            this.p_Workspace.Controls.Add(this._SeqHoster);
            this._SeqHoster.Dock = DockStyle.Fill;
            this.p_Toolbox.Controls.Clear();
            ToolboxService toolboxService = this._SeqHoster.ToolboxService;
            this.p_Toolbox.Controls.Add(toolboxService);
            toolboxService.Dock = DockStyle.Fill;
        }
    }
}
